package com.wfm;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Main {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(Main.class, args);
        LifeCycleTest lifeCycleTest = (LifeCycleTest) run.getBean("lifeCycleTest");
        run.close();
    }
}
